package com.oldwine.order.pojo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class Order {
    private Long id;//订单id
    private String name;//商品名称
    private BigDecimal price;//商品价格
    private Integer num;//商品数量
    private Long userId;//用户id
    private User user;//用户
}
